﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginLogList.aspx.cs" Inherits="LBSoft.HplusAdmin.Business.LoginLog.LoginLogList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录日志</title>
    <uc1:HeadInclude ID="HeadInclude1" runat="server" HasBootstrap="true" HasBootstrapTable="true" HasLayui="true" HasMainStyle="true" />
    <uc3:LoadSelfJS ID="LoadSelfJS1" runat="server" />
</head>
<body>
    <fieldset class="layui-elem-field layui-field-title">
        <legend>登录日志</legend>
    </fieldset>
    <form class="layui-form" autocomplete="off" runat="server">
        <div class="layui-form-item layui-clear">
            <div class="toolbar" style="float: left;">
                <button title="新增" onclick="add()" type="button" class="layui-btn btn-add">新增</button>
            </div>
            <div class="search-head" style="float: right;">
                <label class="layui-form-label">
                    关键字：</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="tbKey" placeholder="请输入关键字" onkeydown="app.onKeyDown(event)" />
                </div>
                <button type="button" class="layui-btn" onclick="search()">
                    查询</button>
            </div>
        </div>
    </form>
    <div class="search-body">
        <table id="table">
            <colgroup>
                <col width="50" />
                <col width="100" />
                <col width="100" />
                <col width="100" />
                <col width="100" />
                <col width="100" />
            </colgroup>
            <thead>
                <tr>
                    <th data-title="序号" data-align="center" data-formatter="formatterNum"></th>
                    <th data-title="账号" data-align="center" data-field="UserAccount"></th>
                    <th data-title="IP" data-align="center" data-field="LoginIP"></th>
                    <th data-title="登录地址" data-align="center" data-field="LoginAddress"></th>
                    <th data-title="登录状态" data-align="center" data-field="LoginStatus"></th>
                    <th data-title="登录时间" data-align="center" data-field="LoginDate" data-formatter="app.getTDate"></th>
                </tr>
            </thead>
        </table>
    </div>

    <script type="text/javascript">
        //新增
        function add() {
            layer.open({
                title: "角色管理",
                type: 2,
                area: ["100%", "100%"],
                scrollbar: false,
                content: "/Business/RoleManage/RoleSet.aspx"
            });
        }
</script>
</body>
</html>
